home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 5
/
Merciful - Disc 5.iso
/
software
/
p
/
pcqpascalv1.2d.lha
/
Include
/
Prefs
/
PrinterGfx.i
< prev
next >
Wrap
Text File
|
1997-05-06
|
2KB
|
75 lines
{ File format for graphics printer preferences }
{$I "Include:Libraries/IffParse.i"}
const
ID_PGFX = 1346848344;
Type
PrinterGfxPrefs = Record
pg_Reserved : Array[0..3] of Integer;
pg_Aspect,
pg_Shade,
pg_Image,
pg_Threshold : WORD;
pg_ColorCorrect,
pg_Dimensions,
pg_Dithering : Byte;
pg_GraphicFlags : WORD;
pg_PrintDensity : Byte; { Print density 1 - 7 }
pg_PrintMaxWidth,
pg_PrintMaxHeight : WORD;
pg_PrintXOffset,
pg_PrintYOffset : Byte;
end;
PrinterGfxPrefsPtr = ^PrinterGfxPrefs;
const
{ constants for PrinterGfxPrefs.pg_Aspect }
PA_HORIZONTAL = 0;
PA_VERTICAL = 1;
{ constants for PrinterGfxPrefs.pg_Shade }
PS_BW = 0;
PS_GREYSCALE = 1;
PS_COLOR = 2;
PS_GREY_SCALE2 = 3;
{ constants for PrinterGfxPrefs.pg_Image }
PI_POSITIVE = 0;
PI_NEGATIVE = 1;
{ flags for PrinterGfxPrefs.pg_ColorCorrect }
PCCB_RED = 1; { color correct red shades }
PCCB_GREEN = 2; { color correct green shades }
PCCB_BLUE = 3; { color correct blue shades }
PCCF_RED = 1;
PCCF_GREEN = 2;
PCCF_BLUE = 4;
{ constants for PrinterGfxPrefs.pg_Dimensions }
PD_IGNORE = 0; { ignore max width/height settings }
PD_BOUNDED = 1; { use max w/h as boundaries }
PD_ABSOLUTE = 2; { use max w/h as absolutes }
PD_PIXEL = 3; { use max w/h as prt pixels }
PD_MULTIPLY = 4; { use max w/h as multipliers }
{ constants for PrinterGfxPrefs.pg_Dithering }
PD_ORDERED = 0; { ordered dithering }
PD_HALFTONE = 1; { halftone dithering }
PD_FLOYD = 2; { Floyd-Steinberg dithering }
{ flags for PrinterGfxPrefs.pg_GraphicsFlags }
PGFB_CENTER_IMAGE = 0; { center image on paper }
PGFB_INTEGER_SCALING = 1; { force integer scaling }
PGFB_ANTI_ALIAS = 2; { anti-alias image }
PGFF_CENTER_IMAGE = 1;
PGFF_INTEGER_SCALING = 2;
PGFF_ANTI_ALIAS = 4;